package com.sc.nft.entity.dto;

import cfca.sadk.org.bouncycastle.asn1.ocsp.Request;
import com.sc.nft.enums.MarketTypeEnum;
import com.sc.nft.sup.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@Data
public class SecondaryMarketSearchDTO extends PageRequest {
    @ApiModelProperty("类型")
    private Integer marketType;

    @ApiModelProperty("搜索内容")
    private String search;


    public void setMarketType(MarketTypeEnum marketType) {
        this.marketType = marketType.getCode();
    }
}
